package com.maple.soa.dao;

import com.maple.soa.pojo.User;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

/**
 * @author lijian
 * @date 2020/7/5
 */
@Repository
public class UserDao {
    @Autowired
    private User user;
    @Value("userDao")
    private String name;

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }
}
